package com.example.cookieshop.entity;


import lombok.Data;

@Data
public class User {
    private int id;
    private String username;
    private String email;
    private String password;
    private String name;
    private String phone;
    private String address;
    private int isValidate;
    private int isAdmin;

    /**
     * 默认情况下 不是管理员,账号正常
     */
    public User() {
        this.isAdmin = 0;
        this.isValidate = 0;
    }
}
